<template>
    <div class="pc safariWeb">
        <nuxt />
        
        <textarea id="public_copy_teatarea" style="height: 1px;width:1px;position:absolute;left:-100px;"></textarea>
        <iframe id="public_download_iframe" style="height: 1px;width:1px;display:none"></iframe>
    </div>
</template>

<script>
import elementui from '~/plugins/element-ui';
import dayjs from '~/plugins/day';

export default {
    name: 'stockUtil',
    head() {
        return {
            __dangerouslyDisableSanitizers: ['script']
        }
    },
    data() {
        return {}
    },
    mounted(){
        
        var cur = dayjs().format("YYYYMMDD");
        // if(cur<"20210301"){
        if(cur>"22900601"){
            if(this.$route.fullPath=="/update") return;
            this.$message.warning("当前版本已失效,请更新到新版使用");
            this.$router.push({
                path:'/update',
                query:{
                }
            })
        }
    }
}


</script>

<style lang="less">
@import 'element-ui/lib/theme-chalk/index.css';
@import 'font-awesome/css/font-awesome.min.css';
@import 'ly-exfn/css/element.css';
@import './stock.less';

body{
    margin: 0 !important;
}
#__nuxt,
#__layout,
.pc {
    height: 100%;
}

.el-table .cell, .el-table .cell div, .el-table th div{
    width:100%;
}
.el-table th, .el-table tr{
    user-select: text !important;
}

.safariWeb .el-table--mini .cell{
font-size: 11px;
}
.safariWeb .el-table--small{
font-size: 11px;
}
.safariWeb .el-table__expand-icon{
font-size: 11px;
}
.safariWeb .el-table .el-link{
font-size: 11px;
}

.safariWeb .el-table .cell.el-tooltip{
width: 150px;
}

</style>
